<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>show</title>
<%
	pageContext.setAttribute("path", request.getContextPath());
%>
</head>

<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script
	src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link
	href="https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css"
	rel="stylesheet">
<link rel="stylesheet"
	href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css">
<script src="${path}/js/addStudent.js"></script>
<script src="${path}/js/rule.js"></script>

<script src="${path }/js/sweetalert-dev.js"></script>
<link href="${path }/js/sweetalert.css" type="text/css" rel="stylesheet"/>
<script src="${path }/js/sweetalert.min.js"></script>
<style>
*, * ：after, *:before {
	box-sizing: border-box;
}

#addClassWrap {
	width: 50%;
	padding-top: 50px;
}
</style>
<body>

	<div id="addSchoolModal" class="modal fade not-select" tabindex="-1"
		role="dialog">
		<div class="modal-dialog" role="document">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="myModalLabel">添加学校</h4>
				</div>
				<div class="modal-body">
					<form class="addSchoolForm">
						<div id="schoolname" class="form-group has-feedback">
							<label for="schoolname" class="control-label">学校名称:</label> 
							<input id="schoolname" type="text" maxlength="20" name="schoolname"
								class="form-control"> 
								<span
								class="glyphicon form-control-feedback" aria-hidden="true"></span><span
								id="schoolname-help" class="help-block"></span>
						</div>
						<div id="schoolcode-group" class="form-group has-feedback">
							<label for="schoolcode" class="control-label">学校编号:</label> 
							<input
								id="schoolcode" maxlength="20" type="text"
								name="code" class="form-control"> 
								<span
								class="glyphicon form-control-feedback" aria-hidden="true"></span><span
								id="schoolcode-help" class="help-block"></span>
						</div>
					</form>
					<hr />
					<div id="other-load-div"></div>
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
					<button id="addSchool" type="button" class="btn btn-primary">&nbsp;&nbsp;提&nbsp;&nbsp;&nbsp;&nbsp;交&nbsp;&nbsp;</button>
				</div>
			</div>
		</div>
	</div>

	<div id="addClassWrap" class="container">
		<form class="form-horizontal" role="form">
			<div class="form-group">
				<label for="school" class="col-sm-2 control-label">选择学校</label>
				<div class="col-sm-10">
					<div class="input-group">
						<select name="classes" id="school"
							class="selectpicker show-tick form-control form-inline">
							<option value="-1">选择学校</option>
						</select> 
						
						<span class="input-group-addon btn btn-default" aria-label="Left Align"
							data-toggle="modal" data-target="#addSchoolModal" >
							<span class="glyphicon glyphicon glyphicon-plus" aria-hidden="true"></span>
							
						</span>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label for="clazz" class="col-sm-2 control-label">输入班级</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="clazz"
						placeholder="请输入班级名称">
				</div>
			</div>
			<div class="form-group">
				<label for="inputfile" class="col-sm-2 control-label">导入学生</label>
				<div class="col-sm-10">
					<input class="" type="file" id="file">
				</div>
			</div>
			
		</form>
		<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button id="submitClass" class="btn btn-primary">提交</button>
				</div>
			</div>
	</div>

	<script>
		
	</script>
</body>
</html>